-- GENERATED SPELL FOR [Volatile Ghoul] --


function spell0_29219(pUnit, Event) --@Ghoulplosion,n/a--
pUnit:FullCastSpellOnTarget(53632,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29219', 100, 1)
end

function Sorts_29219(pUnit, Event)
local choix_sorts_29219 = math.random(0, 0)
if choix_sorts_29219 == 0 then
pUnit:RegisterEvent('spell0_29219', 1, 1)
end
end

function mob29219_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29219', math.random(1500, 3000), 1)
end

function mob29219_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29219_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29219_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29219, 1, 'mob29219_Action')
RegisterUnitEvent(29219, 2, 'mob29219_Leave')
RegisterUnitEvent(29219, 3, 'mob29219_Kill')
RegisterUnitEvent(29219, 4, 'mob29219_Die')
